package com.catchu.pattern.creational.迭代器模式.d双向迭代器.model;

public class PayModel {

    /**
     * 用户名称
     */
    private String name;

    /**
     * 薪水
     */
    private Double salary;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getSalary() {
        return salary;
    }

    public void setSalary(Double salary) {
        this.salary = salary;
    }

    @Override
    public String toString() {
        return "PayModel{" +
                "name='" + name + '\'' +
                ", salary=" + salary +
                '}';
    }
}
